home *** CD-ROM | disk | FTP | other *** search
- #vi: set ts=4 sw=4:
- #-------------- Begin ------------------------------------------
- # init_main_data -- sets up values common to all products
-
- @init_main_data
- {
- set CompanyKey = Software\Acceleration Software International Corporation; # the root registry key for all our software
- set ProductKey = $(CompanyKey)\$(param1); # the root registry key for this product only
- set RunKey = Software\Microsoft\Windows\CurrentVersion\Run;
- };
-
-
-
- @Init_WebC7_data
- {
- call init_main_data, Webcelerator;
-
- set startmenu = Webcelerator\Start Webcelerator.lnk,
- Webcelerator\Settings.lnk,
- Webcelerator\Webcelerator Help.lnk,
- Webcelerator\Cache Browser Utility.lnk,
- Webcelerator\Uninstall Webcelerator,
- Webcelerator;
-
- };
-
-
- @begin_WEBC7
- {
- call Init_WebC7_data;
- echo cleaning WEBC7.....;
-
- PulseEvent Acceleration Software/Event/WebceleratorShutdownEvent;
-
- call_special_func shutdown_ddeproc;
-
- call_special_func show_webcelerator_dialog;
-
- call_special_func uninstall_webc7_layer;
-
- # get all the files in the install\help directory and delete them
-
- GetFilesIn $1\help\prog files,*.*,allfiles;
- echo files in install\help\prog files dir are $(allfiles);
- rm $(allfiles);
-
- GetFilesIn $1\help\gfx,*.*,allfiles;
- echo files in install\help\gfx dir are $(allfiles);
- rm $(allfiles);
-
- GetFilesIn $1\help,*.*,allfiles;
- echo files in install\help dir are $(allfiles);
- rm $(allfiles);
-
- # get all the files in the install directory and delete them
-
- GetFilesIn $1,*.*,allfiles;
- echo files in install dir are $(allfiles);
- rm $(allfiles);
-
- rmdir $1\help\prog files;
- rmdir $1\help\gfx;
- rmdir $1\help;
- rmdir $1;
-
- rmkey hklm,$(ProductKey);
- rmkey hklm,Software\Microsoft\Windows\CurrentVersion\Uninstall\Webcelerator200;
-
- set killkey= Software\Acceleration Software International Corporation\Webcelerator200\uninstall;
- rmkey hklm,$(killkey);
-
- rmkey hklm,$(CompanyKey)\Download Helper;
- rmkey hklm,$(CompanyKey)\Webcelerator\Settings;
- rmkey hklm,$(CompanyKey)\Webcelerator;
- rmkey hklm,$(CompanyKey)\Webcelerator200;
- rmkey hkcu,$(CompanyKey)\Eagle Browsers Spy;
-
- rmval hklm,$(RunKey),Webcelerator;
- rmval hklm,$(RunKey),WebceleratorHost;
- rmval hklm,$(RunKey),WebceleratorTrHost;
- rmval hklm,$(RunKey),ddeproc;
-
-
- rmsm $(startmenu);
- };
-